<%@page import="nav.PagesNav"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" %><%

    Boolean logged = (Boolean)session.getAttribute("logged");
    Boolean checklogin=(Boolean)session.getAttribute("checklogin");
    if(checklogin==null)
    	checklogin=true;
    session.setAttribute("checklogin",true);
	if(checklogin && (logged == null || logged==false))
	{	response.sendRedirect("/ad-odv-web/login.jsp");
		return;
	}
	String user= (String)session.getAttribute("user");
	  
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><%=PagesNav.TITULO %></title>
<style>
<!--
.tablaListado:hover
{ 
background-color:silver;
}
-->
</style>
</head>
<body bgcolor="#dddddd">
<div align="left"><a href="<%=PagesNav.INDEX %>" >index</a></div>
<table align="center" cellpadding="0" cellspacing="0" border="0">
<tr><td>
<h1><%=PagesNav.TITULO %></h1>
<%
	String err= PagesNav.errorMsgGet(session);
	PagesNav.errorMsgClean(session);
 	if(err!=null)
 	{
%>
		<h3 style="font-style: italic;color: red;"><%=err %></h3>
<%
 	}
%>
